/**
 * This file is part of kanji-portal.com.
 *
 * kanji-portal.com is free software: you can redistribute it and/or modify
 * it under the terms of the GNU Lesser General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * kanji-portal.com is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with kanji-portal.com.  If not, see <http://www.gnu.org/licenses/>.
 *
 * Copyright (c) 2008-2009 Nicolas Radde <nicolas@radde.org>
 */
package com.kanjiportal.portal.dao;

import com.kanjiportal.portal.model.Kanji;
import com.kanjiportal.portal.model.Reference;

/**
 * Created by IntelliJ IDEA.
 * User: Nickho
 * Date: Feb 18, 2009
 * Time: 9:25:41 PM
 * To change this template use File | Settings | File Templates.
 */
public interface ReferenceDao {

    public Reference addReference(String referenceValue);

    public Reference findReferenceByKanjiAndType(Kanji kanji, long referenceTypeId);

    public void updateReferenceValue(Reference reference, String referenceValue);

    public void removeReference(Reference reference);
}
